package baiqitun.stupro.common.exception.support;

import baiqitun.stupro.common.exception.enums.support.ExistedExceptionEnum;
import baiqitun.stupro.common.exception.StuproException;

/**
 * 数据已存在
 * @author kedaji
 */
public class ExistedException extends StuproException {
    public ExistedException() {

    }

    public ExistedException(ExistedExceptionEnum exceptionEnum) {
        super(exceptionEnum);
    }

    @Override
    public ExistedException put(String key, Object value) {
        return (ExistedException)super.put(key, value);
    }

    @Override
    public ExistedException put(Class<?> clazz, String key, Object value) {
        return (ExistedException)super.put(key, value);
    }
}
